package com.wlw.admin.openeye.mvp.contract

import com.wlw.admin.openeye.base.IBaseView
import com.wlw.admin.openeye.base.IPresenter
import com.wlw.admin.openeye.mvp.model.bean.HomeBean

interface VideoDetailContract {
    interface View : IBaseView {
        fun setVideo(url: String)
        fun setVideoInfo(itemInfo: HomeBean.Issue.Item)
        fun setBackground(url: String)
        fun setRecentRelatedVideo(itemList: ArrayList<HomeBean.Issue.Item>)
        fun setError(errorMsg: String)
    }

    interface Presenter : IPresenter<View> {
        fun loadVideoInfo(itemInfo: HomeBean.Issue.Item)
        fun requestRelatedVideo(id: Long)
    }
}